package com.edu.mybatis.mappers;

import com.edu.mybatis.pojo.User;
import org.apache.ibatis.annotations.MapKey;

import java.util.List;
import java.util.Map;

public interface SqlMapper {
    List<User> getUserByLike(String username);

    @MapKey("id")
    Map<Integer, User> getUserByAge(Integer age);

    Integer insertUser(User user);
}
